//
//  UIView+MAAdv.h
//  MateAdv
//
//  Created by 茶 on 2023/9/8.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (CAAdv)

@end

@interface MASConstraint (CAAdv)

- (MASConstraint *(^)(CGFloat))ca_offset;
- (MASConstraint *(^)(CGFloat))ca_h_offset;

#define MAMasLeft(_f_)  make.left.MA_offset(_f_)
#define MAMasRight(_f_)  make.right.MA_offset(_f_)
#define MAMasTop(_f_)  make.top.MA_offset(_f_)
#define MAMasBottom(_f_)  make.bottom.MA_offset(_f_)

@end

NS_ASSUME_NONNULL_END
